import React, {Component} from 'react';
import {View, StyleSheet, TouchableOpacity,Image,Text} from 'react-native';
import Potato from '@greens/potato/src/potato'
import NavigationBar from '../../navigation/navigation-bar.view';
import ItemTextArea from "./index";

export default class ITADemo extends Potato {
    constructor(props) {
        super(props);
        this.state = {

        };
    }

    render() {
        return (
            <View style={styles.container}>
                <NavigationBar title='ItemTextArea'/>
                <ItemTextArea
                    maxLength={300}
                    onChangeText={(text) =>{
                        console.log(text)
                    }}
                    value={""}
                    editable={true}
                />
            </View>
        );
    }
}

const styles = StyleSheet.create({
    container: {
        flex: 1,
        backgroundColor: '#F6F6F6',
    },
});
